<template>
  <el-form :inline="true" :model="formInline" class="search-form-inline mb0" size="mini">
    <el-form-item label="用户名：">
      <el-input v-model="formInline.user" placeholder="请输入用户编码或名称进行查询" />
    </el-form-item>
    <el-form-item label="角色名：">
      <el-input v-model="formInline.role" placeholder="请输入角色名进行快速查找" />
    </el-form-item>
    <el-form-item label="所属科室：">
      <el-input v-model="formInline.department" placeholder="请输入科室名称进行快速查找" />
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="onSubmit">查询</el-button>
    </el-form-item>
  </el-form>
</template>

<script>
export default {
  data() {
    return {
      formInline: {
        user: '',
        role: '',
        department: ''
      }
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!')
    }
  }
}
</script>
<style scoped>
.search-form-inline{
    padding:10px 0 0;
}
</style>

